Reference: Display Filters: URL
Move Up Move to Top
Contents: Filter Overview User Interface & Options
Example Variables
Filter Overview This display filter searches for URL's in an article and creates clickable objects that may be used to send the URL to a web browser such as IBrowse.

Back to Top

User Interface The user interface for this filter looks like this:

The available configuration options are:

  • URL Pattern - An AmigaOS pattern which matches a URL.

  • Case Sensitive - If set, pattern matching is case sensitive.

  • Fast Check - Since pattern matching is slow on some systems, an initial faster check for these fixed strings is performed, and only lines which contain one or more of the given strings are checked for the actual URL pattern. This can save quite a few expensive pattern matches. This string should contain one or more strings separated by a vertical bar ("|") character.

  • Multimedia Action - This is an action from the Multimedia Actions list that will be invoked when the URL address is clicked. The multimedia type is application/X-URL. The multimedia action may be any user defined action; for example, to send the article text to a web browser such as IBrowse.

  • Font - If non-null, this font is used to display the URL.

  • Color - If selected, this color is used to display the URL.

  • Style - The text style for displayed URLs.

  • Selected Col - This color is used to display URL's when they are pressed using the mouse.

Back to Top

Example Here is an example of a clickable URL:

When pressed, the text will change to the selected color and the associated multimedia action will be executed.

Back to Top

Variables The following variables, in addition to the standard group, article, and project variables, are available to multimedia actions using this filter:

Variable NameDescription
File When used in a multimedia action for a clickable URL, this variable will be set to a filename which contains the article text. By default this is the full header and body of the article, but the following suffixies can be used:

  • :Head - The file will contain only the header information.
  • :Body - The file will contain only the body, but no headers.
  • :HdBd - The file will contain both the header and the body of the article. This is the default.
  • :Q - The body of the article will be quoted.

For example, referencing the variable ${File:Body:Q} would specify a file containing the quoted body of the article, with no header. This is useful for passing the indicated text to an external program.

URL Used in a multimedia action, the URL variable contains the URL text that was clicked on.